FROM af.ciccwm.com/ciccwm-docker-release/openjdk:21-alpine3.19.3-ciccwm

ADD its-shenyu-bootstrap/its-shenyu-bootstrap-*.jar /deployment/its-shenyu-bootstrap.jar
RUN  chmod "g+rwx" /deployment/*

# 设置java默认参数
ENV DEFAULT_JAVA_OPTS="-Duser.language=zh -Duser.country=CN -Dfile.encoding=UTF-8"

WORKDIR /deployment/
ENTRYPOINT exec java -Xms256m -Xmx4g ${DEFAULT_JAVA_OPTS} ${JAVA_OPTS} -jar /deployment/its-shenyu-bootstrap.jar

